VERSION 5.00
Begin VB.Form frmApptDelivery 
   BackColor       =   &H00FFFFFF&
   Caption         =   "Appointment Delivery Information"
   ClientHeight    =   1590
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4710
   Icon            =   "frmApptDelivery.frx":0000
   KeyPreview      =   -1  'True
   LinkTopic       =   "Form1"
   ScaleHeight     =   1590
   ScaleWidth      =   4710
   StartUpPosition =   1  'CenterOwner
   Begin VB.Frame Frame1 
      BackColor       =   &H00FFFFFF&
      Caption         =   "Appointment"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000080FF&
      Height          =   1335
      Left            =   120
      TabIndex        =   3
      Top             =   120
      Width           =   4455
      Begin VB.CommandButton cmdSave 
         Appearance      =   0  'Flat
         BackColor       =   &H00E0E0E0&
         Caption         =   "Save/Exit"
         Height          =   315
         Left            =   720
         MaskColor       =   &H0080C0FF&
         Style           =   1  'Graphical
         TabIndex        =   1
         Top             =   840
         UseMaskColor    =   -1  'True
         Width           =   1215
      End
      Begin VB.CommandButton cmdCancel 
         Appearance      =   0  'Flat
         BackColor       =   &H00E0E0E0&
         Caption         =   "Cancel"
         Height          =   315
         Left            =   2520
         MaskColor       =   &H0080C0FF&
         Style           =   1  'Graphical
         TabIndex        =   2
         Top             =   840
         UseMaskColor    =   -1  'True
         Width           =   1215
      End
      Begin VB.TextBox f3024 
         Height          =   315
         Left            =   1680
         TabIndex        =   0
         Top             =   360
         Width           =   2055
      End
      Begin VB.Label Label1 
         Alignment       =   1  'Right Justify
         BackColor       =   &H00FFFFFF&
         Caption         =   "Telephone:"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Left            =   240
         TabIndex        =   4
         Top             =   420
         Width           =   1335
      End
   End
End
Attribute VB_Name = "frmApptDelivery"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'---------------------------------------------------------------------------------------
' Procedure : cmdCancel_Click()
' DateTime  : 2/18/2004
' Purpose   : Cancel button hides form
'---------------------------------------------------------------------------------------
'
Private Sub cmdCancel_Click()
    Me.Hide
    frmShip.SetFocus
End Sub
'---------------------------------------------------------------------------------------
' Procedure : cmdSave_Click()
' DateTime  : 2/18/2004
' Purpose   : Assign Appt Del Phone # to global var
'---------------------------------------------------------------------------------------
'
Private Sub cmdSave_Click()
    g_str3024 = f3024
    Me.Hide
    frmShip.SetFocus
End Sub
'---------------------------------------------------------------------------------------
' Procedure : f3024_Change()
' DateTime  : 2/18/2004
' Purpose   : Phone # is numeric only with max length of 10
'---------------------------------------------------------------------------------------
'
Private Sub f3024_Change()
    Call NumericOnly(f3024, False)
    Call CheckLength(f3024, 10)
End Sub

Private Sub Form_Activate()
    f3024.SetFocus
End Sub

'---------------------------------------------------------------------------------------
' Procedure : Form_Load()
' DateTime  : 2/18/2004
' Purpose   : Assign recipient phone # as default
'---------------------------------------------------------------------------------------
'
Private Sub Form_Load()
    f3024 = frmShip.f18
End Sub
'---------------------------------------------------------------------------------------
' Procedure : Form_KeyDown()
' DateTime  : 2/17/2005
' Purpose   : Enter key pressed sends a TAB to move to next field
'---------------------------------------------------------------------------------------
'
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
    If Not TypeOf Me.ActiveControl Is CommandButton Then
        If Shift = 0 And KeyCode = 13 Then
            SendKeys "{TAB}"
        End If
    End If
End Sub

